<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 857px;
            height: 713px;
            background-color: black;
        }
        
        .box1 {
            width: 171.4px;
            height: 178.25px;
            margin: 0 auto;
            background-image: url('./image/02.jpeg');
            animation: moon 2s steps(8) infinite;
            animation-delay: .1ms;
        }

        .box2 {
            width: 171.4px;
            height: 178.25px;
            margin: 0 auto;
            background-image: url('./image/02.jpeg');
            animation: moon 2s steps(8) infinite;
            animation-delay: .2ms;
        }

        .box3 {
            width: 171.4px;
            height: 178.25px;
            margin: 0 auto;
            background-image: url('./image/02.jpeg');
            animation: moon 2s steps(8) infinite;
            animation-delay: .3ms;
        }

        .box4 {
            width: 171.4px;
            height: 178.25px;
            margin: 0 auto;
            background-image: url('./image/02.jpeg');
            animation: moon 2s steps(8) infinite;
            animation-delay: .4ms;
        }

        @keyframes moon {
            from {
                background-position: 0 0;
            }

            to {
                background-position: -685.6px -356.5px;
            }

        }
    </style>
</head>

<body>
    <div class="box">
        <div class="box1"></div>
        <div class="box2"></div>
        <div class="box3"></div>
        <div class="box4"></div>
    </div>
</body>

</html>